home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Especial Multimedia
/
Especial Multimedia.iso
/
Multimed
/
Prg
/
FADE2.ZIP
/
FORM1.FRM
< prev
next >
Wrap
Text File
|
1997-09-14
|
2KB
|
77 lines
VERSION 2.00
Begin Form frmMain
BackColor = &H00FFFFFF&
Caption = "Form1"
ClientHeight = 3564
ClientLeft = 168
ClientTop = 1932
ClientWidth = 4176
Height = 4032
Left = 96
LinkTopic = "Form1"
ScaleHeight = 3564
ScaleWidth = 4176
Top = 1536
Width = 4320
Begin Frame fraGradient
Caption = "Gradient Types"
Height = 1452
Left = 1440
TabIndex = 0
Top = 1440
Width = 2052
Begin OptionButton optGradient
Caption = "Horizontal"
Height = 372
Index = 2
Left = 120
TabIndex = 3
Top = 960
Width = 1332
End
Begin OptionButton optGradient
Caption = "Vertical"
Height = 372
Index = 1
Left = 120
TabIndex = 2
Top = 600
Width = 1332
End
Begin OptionButton optGradient
Caption = "Diagonal"
Height = 372
Index = 0
Left = 120
TabIndex = 1
Top = 240
Value = -1 'True
Width = 1332
End
End
End
Option Explicit
Sub Form_Load ()
Move 0, 0, Screen.Width, Screen.Height * .85
End Sub
Sub Form_Resize ()
If Me.WindowState <> 1 Then
If optGradient(0).Value Then
Call FadeForm(Me, 0)
ElseIf optGradient(1).Value Then
Call FadeForm(Me, 1)
ElseIf optGradient(2).Value Then
Call FadeForm(Me, 2)
Else
Call FadeForm(Me, 666)
End If
End If
End Sub
Sub optGradient_Click (index As Integer)
Call FadeForm(Me, index)
End Sub